import Vue from 'vue'
import App from './App.vue'
import store from './store'
import router from './router'
import "@/config/filter.js"
import Print from 'vue-print-nb'
import dataV from '@jiaminghi/data-view'
Vue.use(dataV)
Vue.use(Print);

const bus = new Vue()
Vue.prototype.$bus = bus

// 引入UI框架的js文件 css文件
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
// 在vue实例中use一下
const Bus = new Vue();
// 引入重置样式
import Reset from '@/assets/css/reset.css';
// 引入字体图标样式
import Font from '@/assets/font/iconfont.css';
// 携带登录者信息
import axios from "./http/axios";
axios.defaults.withCredentials = true;

Vue.config.productionTip = false
Vue.prototype.$bus = Bus;

export default new Vue({
  store,
  router,
  render: h => h(App)
}).$mount('#app')
